package com.antoco.operation.bigscreen.mapper;

import com.antoco.operation.bigscreen.model.dto.SensorImgDTO;
import com.antoco.operation.bigscreen.model.entity.SensorImg;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;

@Mapper(componentModel = "spring", uses = ReferenceMapper.class)
public interface SensorImgMapper extends GenericMapper<SensorImg, SensorImgDTO> {
    @Override
    @Mapping(target = "id", ignore = false)
    SensorImg asEntity(SensorImgDTO dto);
}